// pages/my/qrcode/qrcode.js
const App = getApp()

Page({
  data: {
    show: !0,
    form: {
      name: '',
      is_def: !1,
    },
  },
  onLoad() {
    this.WxValidate = App.WxValidate({
      name: {
        required: true,
        minlength: 2,
        maxlength: 10,
      },
    }, {
        name: {
          required: '请输入充值金额',
        },
      })

    this.address = App.HttpResource('/address/:id', { id: '@id' })
  },


  toSetMoney(e) {
    console.log(e)
    App.WxService.navigateTo('/pages/my/qrcode/setmoney')
  },


  toSetArea(e){
    console.log(e)
    App.WxService.navigateTo('/pages/my/area/index')
  }

})